package com.itheima.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface AccountDao {
    @Update("update tbl_account set money = money + #{money} where name=#{name} ")
    void inmoney(@Param("money") double money, @Param("name") String name);
    @Update("update tbl_account set money = money - #{money} where name=#{name}")
    void outmoney(@Param("money") double money,@Param("name") String name);
}
